import Layout from '@/layout'
const orderRouter = {
  path: '/tool',
  component: Layout,
  redirect: '/tool/upload',
  name: 'Upload',
  meta: {
    title: '图片上传',
    icon: 'drag'
  },
  children: [
    {
      path: 'upload',
      component: ()=>import("@/views/tool/upload"),
      name: 'UploadMain',
      meta: { title: '图片上传', noCache: false }
    },
    {
      path: 'other',
      component: ()=>import("@/views/tool/other"),
      name: 'OtherMain',
      meta: { title: '工具类', noCache: false }
    }
  ]
}
export default orderRouter
